package com.maxverse.boot.web2image.storage.repository;

import com.maxverse.boot.web2image.storage.entity.TaskConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface TaskConfigRepository extends JpaRepository<TaskConfig, Long> {
    Optional<TaskConfig> findByTaskId(String taskId);
    
    void deleteByTaskId(String taskId);
} 